<%@ Page Language="C#" MasterPageFile="~/asp_pages/Master.master" AutoEventWireup="true" CodeFile="register.aspx.cs" Inherits="asp_pages_register" Title="Untitled Page" %>
<asp:Content ID="head1" ContentPlaceHolderID="headPlaceHolder" Runat="Server">
<link href="../styles/register.css" rel="stylesheet" type="text/css"/>
<link href="../styles/general_format.css" rel="stylesheet" type="text/css"/>

</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">


<div id="frmRegister">
<h3>Register</h3>
<span class="clsLineHeigt1">Please finished the below information. The fields with (*) is required.</span>
<fieldset>
<legend>Registration information</legend>
   
  <div><label>
      
      Username:</label><asp:TextBox ID="txtUsername" runat="server" />
      <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txtUsername" ValidationGroup="A"></asp:RequiredFieldValidator></div>
  <div><label>Password:</label><asp:TextBox ID="txtPassword" TextMode="Password" runat="server" />
      <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="txtPassword" ValidationGroup="A"></asp:RequiredFieldValidator></div>
  <div><label>Full name:</label><asp:TextBox ID="txtFullname" runat="server" />
      <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*" ControlToValidate="txtFullname" ValidationGroup="A"></asp:RequiredFieldValidator></div>
  <div><label>Date of birth: Day:
  </label><asp:DropDownList ID="cmbMonth" runat="server" OnSelectedIndexChanged="cmbMonth_SelectedIndexChanged1"     />
      &nbsp;&nbsp; Month:
      <asp:DropDownList ID="cmbDay" runat="server"  />
      &nbsp; &nbsp; Year:
      <asp:DropDownList ID="cmbYear" runat="server" />
    
  </div>
  <div><label>City: </label><asp:TextBox ID="txtCity" runat="server"></asp:TextBox>
      <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*" ControlToValidate="txtCity" ValidationGroup="A"></asp:RequiredFieldValidator></div>
  <div><label>Country: </label><asp:TextBox ID="txtCountry" runat="server"></asp:TextBox>
      <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="*" ControlToValidate="txtCountry" ValidationGroup="A"></asp:RequiredFieldValidator></div>
  <div><label>Address: </label><asp:TextBox ID="txtAddress" runat="server"></asp:TextBox>
      <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="*" ControlToValidate="txtAddress" ValidationGroup="A"></asp:RequiredFieldValidator></div>
  <div><label>Phone: </label><asp:TextBox ID="txtPhone" runat="server"></asp:TextBox></div>
  <div><label>Email: </label><asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
      <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="*" ControlToValidate="txtEmail" ValidationGroup="A"></asp:RequiredFieldValidator></div>
  <div><label>Credit card:: </label><asp:TextBox ID="txtCreditCart" runat="server"></asp:TextBox>
      <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ErrorMessage="*" ControlToValidate="txtCreditCart" ValidationGroup="A"></asp:RequiredFieldValidator></div>
  <div id="command"><asp:Button ID="btnRegister" runat="server" Text="Register" OnClick="btnRegister_Click" ValidationGroup="A"/>
  <asp:Button ID="btnReset" Text="Reset" runat="server" OnClick="btnReset_Click" /><br />
      <br />
      &nbsp;<asp:Label ID="lblMessage" runat="server"></asp:Label><br />
  </div>
  </fieldset>
  </div>

</asp:Content>

